package com.alangyun.remind.vo.dt;

import java.io.Serializable;

public class DtColumn implements Serializable {

	private String title;
	private String mData;
	private String sWidth = "120px";
	private String defaultContent = "";

	public static DtColumn create(String title, String code) {
		DtColumn ret= new DtColumn();
		ret.title = title;
		ret.mData = code;
		
		return ret;
	}
	public String getTitle() {
		return title;
	}

	public String getmData() {
		return mData;
	}

	public String getsWidth() {
		return sWidth;
	}

	public String getDefaultContent() {
		return defaultContent;
	}

	public DtColumn setTitle(String title) {
		this.title = title;
		return this;
	}

	public DtColumn setmData(String mData) {
		this.mData = mData;
		return this;
	}

	public DtColumn setsWidth(String sWidth) {
		this.sWidth = sWidth;
		return this;
	}

	public DtColumn setDefaultContent(String defaultContent) {
		this.defaultContent = defaultContent;
		return this;
	}

}
